﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace thailandProject.Models
{
    public class Test_Client
    {
        public string ClientName { get; set; }
        public string ClientEmail { get; set; }
        public string ClientPhone { get; set; }
        public string ClientReservationLocation { get; set; }
        public DateTime ClientStartDate { get; set; }
        public DateTime ClientEndDate { get; set; }
        public string ClientNotes { get; set; }
        public decimal ClientQuotedPrice { get; set; }
        public decimal ClientAmountPaid { get; set; }

        /// <summary>
        /// Generates a fake client to be used in the Clients page for testing purposes
        /// </summary>
        /// <returns>A hardcoded Test_Client object</returns>
        public static Test_Client getTestingData()
        {
            Test_Client rt = new Test_Client();

            rt.ClientName = "Joanne Jane";
            rt.ClientEmail = "j.Jane@fake.com";
            rt.ClientPhone = "123-456-7890";
            rt.ClientReservationLocation = "Apartment 214";
            rt.ClientStartDate = new DateTime(2013, 4, 1, 7, 30, 0); //April 1st, 2013 7:30 AM
            rt.ClientStartDate = new DateTime(2013, 4, 25, 18, 45, 0); //April 25th, 2013 6:45 PM
            rt.ClientNotes = "Loves flowers in her room when she arrives\n\n" +
                "She is from my home town\n\n" +
                "She wants to ride an elephant\n\n" +
                "She registered a year and a half in advance";
            rt.ClientQuotedPrice = 2400.00m;
            rt.ClientAmountPaid = 1250.00m;

            return rt;
        }
    }
}